home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Sample Code / AppsToGo / •AppsToGo Reference / •AppsToGo Reference.rsrc / WFMT_349_a1BB < prev    next >
Unknown  |  1994-09-22  |  2.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file TTComp archive data, binary, 2K dictionary default (weak)
99% file data default
66% TrID TTComp archive compressed (bin-2K) default (weak)
33% TrID Adobe PhotoShop Brush default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 2b 00 00 00 00 00 00 | 00 2b 61 31 42 42 00 00 |.+......|.+a1BB..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 11 44 6f 41 64 6a | 75 73 74 4d 42 41 52 4d |...DoAdj|ustMBARM|
|00000060| 65 6e 75 73 00 00 06 00 | 00 00 00 00 97 00 00 00 |enus....|........|
|00000070| 00 00 00 00 97 00 00 00 | 14 03 c1 00 28 05 7e 00 |........|....(.~.|
|00000080| ff 00 00 00 00 00 00 0f | a8 00 00 00 00 4e 1c 00 |........|.....N..|
|00000090| 00 00 09 00 00 00 04 00 | 04 ff fc ff fa 00 04 00 |........|........|
|000000a0| 04 ff fc ff fc 00 00 00 | 00 00 00 00 00 83 00 0b |........|........|
|000000b0| 40 10 6b 53 63 72 65 65 | 6e 41 50 49 2f 31 39 39 |@.kScree|nAPI/199|
|000000c0| 39 36 00 06 47 65 6e 65 | 76 61 00 00 3d 42 6f 6f |96..Gene|va..=Boo|
|000000d0| 6c 65 61 6e 20 44 6f 41 | 64 6a 75 73 74 4d 42 41 |lean DoA|djustMBA|
|000000e0| 52 4d 65 6e 75 73 28 57 | 69 6e 64 6f 77 50 74 72 |RMenus(W|indowPtr|
|000000f0| 20 77 69 6e 64 6f 77 2c | 20 73 68 6f 72 74 20 6d | window,| short m|
|00000100| 65 6e 75 42 61 72 49 44 | 29 3b 00 00 00 06 00 00 |enuBarID|);......|
|00000110| 00 00 00 8d 00 00 00 00 | 00 00 00 8d 00 00 00 00 |........|........|
|00000120| 03 c1 00 14 05 7e 00 ff | 00 00 00 00 00 00 0f a8 |.....~..|........|
|00000130| 00 00 00 00 4e 1d 00 00 | 00 09 00 00 00 04 00 04 |....N...|........|
|00000140| ff fc ff fa 00 04 00 04 | ff fc ff fc 00 00 00 00 |........|........|
|00000150| 00 00 00 00 83 00 0b 40 | 14 6b 53 63 72 65 65 6e |.......@|.kScreen|
|00000160| 4f 6e 65 4c 69 6e 65 2f | 31 39 39 39 37 00 06 47 |OneLine/|19997..G|
|00000170| 65 6e 65 76 61 00 00 2f | 41 64 6a 75 73 74 20 61 |eneva../|Adjust a|
|00000180| 6c 6c 20 6f 66 20 74 68 | 65 20 6d 65 6e 75 73 20 |ll of th|e menus |
|00000190| 69 6e 20 74 68 65 20 64 | 65 73 69 67 6e 61 74 65 |in the d|esignate|
|000001a0| 64 20 4d 42 41 52 2e 00 | 00 00 06 00 00 00 00 00 |d MBAR..|........|
|000001b0| 44 00 00 00 00 00 00 00 | 44 00 00 00 00 02 6b 04 |D.......|D.....k.|
|000001c0| 40 02 6c 01 00 00 00 00 | 00 00 01 0f f1 00 00 00 |@.l.....|........|
|000001d0| 00 00 00 00 00 00 0c 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 06 00 |........|........|
|00000200| 00 00 00 00 aa 00 00 00 | 00 00 00 00 aa 00 00 00 |........|........|
|00000210| 00 02 6b 02 28 03 c1 00 | ff 00 00 00 00 00 00 0f |..k.(...|........|
|00000220| a8 00 00 00 00 4e 16 00 | 00 00 09 00 00 00 04 00 |.....N..|........|
|00000230| 04 ff fc ff fa 00 04 00 | 04 ff fc ff fc 00 00 00 |........|........|
|00000240| 00 00 00 00 00 83 00 0b | 40 0b 6c 69 6e 6b 73 2f |........|@.links/|
|00000250| 31 39 39 39 30 00 06 4d | 6f 6e 61 63 6f 00 00 3f |19990..M|onaco..?|
|00000260| 61 31 30 36 2c 41 64 6a | 75 73 74 4d 65 6e 75 49 |a106,Adj|ustMenuI|
|00000270| 74 65 6d 73 0d 61 31 42 | 42 2c 44 6f 41 64 6a 75 |tems.a1B|B,DoAdju|
|00000280| 73 74 4d 42 41 52 4d 65 | 6e 75 73 0d 61 31 42 43 |stMBARMe|nus.a1BC|
|00000290| 2c 44 6f 41 64 6a 75 73 | 74 4d 65 6e 75 73 0d 00 |,DoAdjus|tMenus..|
|000002a0| 16 00 01 00 00 00 00 00 | 10 00 0c 00 01 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 06 00 00 00 00 06 24 00 |........|......$.|
|000002c0| 00 00 00 00 00 06 24 00 | 00 00 00 00 00 75 30 02 |......$.|.....u0.|
|000002d0| 6b 01 ff 00 00 00 00 00 | 00 0f a8 00 00 00 00 4e |k.......|.......N|
|000002e0| 1f 00 00 00 09 00 00 00 | 04 00 04 ff fc ff fa 00 |........|........|
|000002f0| 04 00 04 ff fc ff fc 00 | 00 00 00 00 00 00 00 83 |........|........|
|00000300| 00 0b 40 0a 62 6f 64 79 | 2f 31 39 39 39 39 00 06 |..@.body|/19999..|
|00000310| 4d 6f 6e 61 63 6f 00 04 | f2 42 6f 6f 6c 65 61 6e |Monaco..|.Boolean|
|00000320| 20 44 6f 41 64 6a 75 73 | 74 4d 42 41 52 4d 65 6e | DoAdjus|tMBARMen|
|00000330| 75 73 28 57 69 6e 64 6f | 77 50 74 72 20 77 69 6e |us(Windo|wPtr win|
|00000340| 64 6f 77 2c 20 73 68 6f | 72 74 20 6d 65 6e 75 42 |dow, sho|rt menuB|
|00000350| 61 72 49 44 29 3b 0d 0d | 20 20 20 20 46 69 6c 65 |arID);..| File|
|00000360| 3a 20 57 69 6e 64 6f 77 | 32 2e 68 0d 0d 49 4e 50 |: Window|2.h..INP|
|00000370| 55 54 3a 20 20 77 69 6e | 64 6f 77 0d 20 20 20 20 |UT: win|dow. |
|00000380| 20 20 20 20 6d 65 6e 75 | 42 61 72 49 44 0d 52 45 | menu|BarID.RE|
|00000390| 53 55 4c 54 3a 20 42 6f | 6f 6c 65 61 6e 0d 0d 54 |SULT: Bo|olean..T|
|000003a0| 68 69 73 20 66 75 63 74 | 69 6f 6e 20 69 73 20 63 |his fuct|ion is c|
|000003b0| 61 6c 6c 65 64 20 74 6f | 20 61 64 6a 75 73 74 20 |alled to| adjust |
|000003c0| 61 6c 6c 20 6f 66 20 74 | 68 65 20 6d 65 6e 75 73 |all of t|he menus|
|000003d0| 20 69 6e 20 74 68 65 20 | 64 65 73 69 67 6e 61 74 | in the |designat|
|000003e0| 65 64 20 4d 42 41 52 2e | 20 0d 54 68 65 20 66 75 |ed MBAR.| .The fu|
|000003f0| 6e 63 74 69 6f 6e 73 20 | 67 65 74 73 20 65 61 63 |nctions |gets eac|
|00000400| 68 20 6d 65 6e 75 20 68 | 61 6e 64 6c 65 2c 20 61 |h menu h|andle, a|
|00000410| 6e 64 20 74 68 65 6e 20 | 64 69 73 61 62 6c 65 73 |nd then |disables|
|00000420| 20 61 6c 6c 20 6f 66 20 | 74 68 65 20 6d 65 6e 75 | all of |the menu|
|00000430| 20 69 74 65 6d 73 0d 66 | 6f 72 20 74 68 61 74 20 | items.f|or that |
|00000440| 6d 65 6e 75 2e 20 20 49 | 74 20 74 68 65 6e 20 63 |menu. I|t then c|
|00000450| 61 6c 6c 73 20 74 68 65 | 20 61 70 70 6c 69 63 61 |alls the| applica|
|00000460| 74 69 6f 6e 20 74 6f 20 | 67 69 76 65 20 74 68 65 |tion to |give the|
|00000470| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 74 68 65 | applica|tion the|
|00000480| 0d 63 68 61 6e 63 65 20 | 74 6f 20 65 6e 61 62 6c |.chance |to enabl|
|00000490| 65 20 74 68 65 20 61 70 | 70 72 6f 70 72 69 61 74 |e the ap|propriat|
|000004a0| 65 20 6d 65 6e 75 20 69 | 74 65 6d 73 2e 0d 0d 5f |e menu i|tems..._|
|000004b0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 0d 0d 41 6c 73 6f 20 |________|_..Also |
|000004c0| 73 65 65 3a 20 20 20 44 | 6f 41 64 6a 75 73 74 4d |see: D|oAdjustM|
|000004d0| 65 6e 75 73 0d 20 20 20 | 20 20 20 20 20 20 20 20 |enus. | |
|000004e0| 20 20 20 20 20 41 70 70 | 57 61 6e 6e 61 62 65 20 | App|Wannabe |
|000004f0| 66 75 6e 63 74 69 6f 6e | 20 77 68 65 72 65 20 74 |function| where t|
|00000500| 68 65 20 6d 65 6e 75 20 | 68 61 6e 64 6c 69 6e 67 |he menu |handling|
|00000510| 20 63 68 61 69 6e 0d 20 | 20 20 20 20 20 20 20 20 | chain. | |
|00000520| 20 20 20 20 20 20 20 62 | 65 67 69 6e 73 2e 20 20 | b|egins. |
|00000530| 54 68 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |The appl|ication |
|00000540| 63 61 6e 20 64 6f 20 77 | 68 61 74 65 76 65 72 20 |can do w|hatever |
|00000550| 69 74 20 77 61 6e 74 73 | 0d 20 20 20 20 20 20 20 |it wants|. |
|00000560| 20 20 20 20 20 20 20 20 | 20 74 6f 20 61 64 6a 75 | | to adju|
|00000570| 73 74 20 74 68 65 20 6d | 65 6e 75 73 2c 20 62 75 |st the m|enus, bu|
|00000580| 74 20 74 68 65 20 65 61 | 73 69 65 73 74 20 74 68 |t the ea|siest th|
|00000590| 69 6e 67 20 69 73 20 74 | 6f 0d 20 20 20 20 20 20 |ing is t|o. |
|000005a0| 20 20 20 20 20 20 20 20 | 20 20 6a 75 73 74 20 63 | | just c|
|000005b0| 61 6c 6c 20 44 6f 41 64 | 6a 75 73 74 4d 42 41 52 |all DoAd|justMBAR|
|000005c0| 4d 65 6e 75 73 2e 0d 0d | 20 20 20 20 20 20 20 20 |Menus...| |
|000005d0| 20 20 20 20 41 64 6a 75 | 73 74 4d 65 6e 75 49 74 | Adju|stMenuIt|
|000005e0| 65 6d 73 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |ems. | |
|000005f0| 20 20 20 20 41 70 70 57 | 61 6e 6e 61 62 65 20 66 | AppW|annabe f|
|00000600| 75 6e 63 74 69 6f 6e 20 | 74 68 61 74 20 44 6f 41 |unction |that DoA|
|00000610| 64 6a 75 73 74 4d 42 41 | 52 4d 65 6e 75 73 20 63 |djustMBA|RMenus c|
|00000620| 61 6c 6c 73 0d 20 20 20 | 20 20 20 20 20 20 20 20 |alls. | |
|00000630| 20 20 20 20 20 66 6f 72 | 20 65 61 63 68 20 6d 65 | for| each me|
|00000640| 6e 75 2e 20 20 49 66 20 | 74 68 65 20 74 6f 70 20 |nu. If |the top |
|00000650| 77 69 6e 64 6f 77 20 69 | 73 20 6e 6f 74 20 61 20 |window i|s not a |
|00000660| 64 6f 63 75 6d 65 6e 74 | 0d 20 20 20 20 20 20 20 |document|. |
|00000670| 20 20 20 20 20 20 20 20 | 20 77 69 6e 64 6f 77 2c | | window,|
|00000680| 20 6f 72 20 69 66 20 74 | 68 65 72 65 20 69 73 20 | or if t|here is |
|00000690| 6e 6f 20 77 69 6e 64 6f | 77 2c 20 74 68 65 6e 20 |no windo|w, then |
|000006a0| 41 64 6a 75 73 74 4d 65 | 6e 75 49 74 65 6d 73 0d |AdjustMe|nuItems.|
|000006b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006c0| 69 73 20 63 61 6c 6c 65 | 64 20 64 69 72 65 63 74 |is calle|d direct|
|000006d0| 6c 79 2e 20 20 49 66 20 | 74 68 65 20 74 6f 70 20 |ly. If |the top |
|000006e0| 77 69 6e 64 6f 77 20 69 | 73 20 61 20 64 6f 63 75 |window i|s a docu|
|000006f0| 6d 65 6e 74 0d 20 20 20 | 20 20 20 20 20 20 20 20 |ment. | |
|00000700| 20 20 20 20 20 77 69 6e | 64 6f 77 2c 20 74 68 65 | win|dow, the|
|00000710| 6e 20 74 68 65 20 64 6f | 63 75 6d 65 6e 74 20 70 |n the do|cument p|
|00000720| 72 6f 63 50 74 72 20 61 | 64 6a 75 73 74 4d 65 6e |rocPtr a|djustMen|
|00000730| 75 49 74 65 6d 73 50 72 | 6f 63 0d 20 20 20 20 20 |uItemsPr|oc. |
|00000740| 20 20 20 20 20 20 20 20 | 20 20 20 69 73 20 63 61 | | is ca|
|00000750| 6c 6c 65 64 2e 20 20 4e | 6f 74 65 20 74 68 61 74 |lled. N|ote that|
|00000760| 20 61 64 6a 75 73 74 4d | 65 6e 75 49 74 65 6d 73 | adjustM|enuItems|
|00000770| 50 72 6f 63 20 69 73 20 | 69 6e 69 74 69 61 6c 69 |Proc is |initiali|
|00000780| 7a 65 64 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |zed. | |
|00000790| 20 20 20 20 74 6f 20 41 | 64 6a 75 73 74 4d 65 6e | to A|djustMen|
|000007a0| 75 49 74 65 6d 73 2e 20 | 20 54 68 69 73 20 6d 65 |uItems. | This me|
|000007b0| 61 6e 73 20 74 68 61 74 | 2c 20 75 6e 6c 65 73 73 |ans that|, unless|
|000007c0| 20 79 6f 75 20 63 68 61 | 6e 67 65 0d 20 20 20 20 | you cha|nge. |
|000007d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 74 2c 20 | | it, |
|000007e0| 41 64 6a 75 73 74 4d 65 | 6e 75 49 74 65 6d 73 20 |AdjustMe|nuItems |
|000007f0| 69 73 20 63 61 6c 6c 65 | 64 20 69 6e 20 61 6c 6c |is calle|d in all|
|00000800| 20 63 61 73 65 73 2e 20 | 0d 0d 0d 00 de 00 0b 00 | cases. |........|
|00000810| 00 00 00 00 0b 00 09 00 | 04 00 00 00 09 00 00 00 |........|........|
|00000820| 00 00 00 00 00 01 ae 00 | 0b 00 09 00 04 05 00 00 |........|........|
|00000830| 09 00 00 00 00 00 00 00 | 00 01 bb 00 0b 00 09 00 |........|........|
|00000840| 04 00 00 00 09 00 00 00 | 00 00 00 00 00 02 bb 00 |........|........|
|00000850| 0b 00 09 00 04 05 00 00 | 09 00 00 00 00 00 00 00 |........|........|
|00000860| 00 02 ca 00 0b 00 09 00 | 04 00 00 00 09 00 00 00 |........|........|
|00000870| 00 00 00 00 00 03 87 00 | 0b 00 09 00 04 05 00 00 |........|........|
|00000880| 09 00 00 00 00 00 00 00 | 00 03 96 00 0b 00 09 00 |........|........|
|00000890| 04 00 00 00 09 00 00 00 | 00 00 00 00 00 04 7e 00 |........|......~.|
|000008a0| 0b 00 09 00 04 05 00 00 | 09 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 04 8d 00 0b 00 09 00 | 04 00 00 00 09 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 04 c7 00 | 0b 00 09 00 04 05 00 00 |........|........|
|000008d0| 09 00 00 00 00 00 00 00 | 00 04 d6 00 0b 00 09 00 |........|........|
|000008e0| 04 00 00 00 09 00 00 00 | 00 00 00 |........|... |
+--------+-------------------------+-------------------------+--------+--------+